package MyGO.service.impl;

import MyGO.Data.Amount;
import MyGO.Form.TrackForm;
import MyGO.dao.IAmountDao;
import MyGO.dao.impl.AmountImpl;
import MyGO.service.IAmountService;

import java.util.List;

public class AmountServiceImpl implements IAmountService {
    IAmountDao amountDao = new AmountImpl();

    @Override
    public List<Amount> getAllAmount() {
        return amountDao.getAllAmount();
    }

    @Override
    public void addAmount(Amount amount) {
        amountDao.addAmount(amount);
    }
}
